<template>
	<view class="vw-100 vh-100 flex flex-center">
		<view class="w-p-60">
			<y-login @close="close"></y-login>
		</view>
	</view>
</template>

<script setup>
	import { ref, onMounted } from 'vue';
	import { $page, $tool } from '@/utils';
	const close = () => {
		$tool.toast('登录成功')
		setTimeout(() => {
			$page.back()
		}, 500)
	}
 
</script>

<style>

</style>